import pandas as pd
from pitchSrc.tools.groupDecorator import GroupDecorator
from common.config import pitchConfig as Config

from pitchSrc.tools.getPlotly import show3dFig
from pitchSrc.tools.loadFile import toCsv,toAttrCsv

@GroupDecorator.formulate
def hisGroupProcess(X):
    print('groupProcess 进行中................')
    return X
def groupProcess():
    toCsv(Config.hisCleanProcess
          , Config.hisGroupProcess
          , hisGroupProcess)
    toAttrCsv(Config.hisGroupProcess, Config.hisGroupAttr)
    print('groupProcess 完毕................')
    # show3dFig(Config.hisGroupProcess)
if __name__ == '__main__':
    groupProcess()